header.file<-: set header file of a BNDataset.
Description
Set the header filename of a dataset (with the path to its position, as given by the user).
The header file has to contain three rows:
- list of names of the variables, in the same order as in the data file;
- list of cardinalities of the variables, if discrete, or levels for quantization if continuous;
- list of status of the variables:
c for continuous variables, d for discrete ones.
Further rows are ignored.
Usage
header.file(x) <- value
"header.file"(x) <- value